package com.gitee.ykr.lightweight.rpc.protocol.client;

import com.gitee.ykr.lightweight.rpc.common.delegate.NettyRpcDelegateImpl;
import com.gitee.ykr.lightweight.rpc.common.entity.NettyRpcMessage;
import com.gitee.ykr.lightweight.rpc.common.entity.NettyRpcResponse;

/**
 * @author YKR
 * @Describe
 * @date 2021/8/24
 */
public abstract class AbstractResponseHandler extends NettyRpcDelegateImpl implements MessageHandler {


    public abstract void handle(NettyRpcResponse response);

    @Override
    public void beforeHandle(NettyRpcMessage nettyRpcMessage) {

    }

    @Override
    public void afterHandle(NettyRpcMessage nettyRpcMessage) {

    }
}